import request from '@/utils/request'

export function topUpWallet(data) {
  return request({
    url:'/gym/wallet/topUp',
    data,
    method:'post'
  })
}
export function getWallet(params) {
  return request({
    url:'/gym/wallet/admin',
    params,
    method:'get'
  })
}

export function useTicket(data) {
  return request({
    url:'/gym/wallet/ticket',
    data,
    method:'post'
  })
}
export function useBalance(data) {
  return request({
    url:'/gym/wallet/balance',
    data,
    method:'post'
  })
}